package com.lqian.demo01;

public class Thread_Sleep {

    public static void main(String[] args) {
        new Thread(()->{
            System.out.println("begin:"+System.currentTimeMillis());
            try {
                Thread.sleep(3000);
                System.out.println("end:"+System.currentTimeMillis());
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }).start();
    }
}
